<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

<%
//强制销毁当前session内的对象
session.invalidate();
//调回到上一层页面
out.print("<script>parent.location.href='index.jsp'</script>");

%>



</body>
</html>